package com.basic.auth.dao.mapper;


import com.basic.auth.dao.model.AuthRoleMember;
import com.basic.auth.dao.model.AuthRoleMemberExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 权限角色用户关系
 * @Author LPP
 * @Date 2018/8/14 9:43
 **/
@Mapper
public interface AuthRoleMemberMapper {
    Long countByExample(AuthRoleMemberExample example);

    int deleteByExample(AuthRoleMemberExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AuthRoleMember record);

    int insertSelective(AuthRoleMember record);

    List<AuthRoleMember> selectByExample(AuthRoleMemberExample example);

    AuthRoleMember selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AuthRoleMember record, @Param("example") AuthRoleMemberExample example);

    int updateByExample(@Param("record") AuthRoleMember record, @Param("example") AuthRoleMemberExample example);

    int updateByPrimaryKeySelective(AuthRoleMember record);

    int updateByPrimaryKey(AuthRoleMember record);
}
